package com.think.teaching.service;

import com.think.teaching.model.ExamResult;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 学生考试结果 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface ExamResultService extends IService<ExamResult> {
	ExamResult AddExamResult(ExamResult examResult);

	ExamResult UpdateExamResult(ExamResult examResult);

	ExamResult GetExamResult(Integer id);

	IPage<ExamResult> ListExamResultWithTagAndType(Integer count, Integer page, Integer type, Integer tag,
			Boolean withoutBan);

	List<ExamResult> SearchExamResultWithKey(String key, Boolean withoutBan);

	ExamResult SetExamResultState(Integer id, Integer state);
}
